<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="js/vue.js"></script>
</head>
<body>
<!--这里是MVVM中的View-->
    <div id="app">
    <p>{{ name }}</p>
    
</div>
<script>
//这里是MVVM中的View Model
    let vue = new Vue({
    el: '#app',
//这里是MVVM中的Model
    data: {
        name: "didi"
    }
    });
</script>
</body>
</html>